<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
    <link rel="stylesheet" href="./css/bootstrap.min.css">
    <script src="./js/jquery-1.12.4.min.js"></script>
    <script src="./js/bootstrap.min.js"></script>
</head>

<body>

    <button type="button" class="btn btn-default" data-toggle="modal" data-target="#mymodal">显示
    </button>

    <!--fade动画显示-->
    <div class="modal fade" id="mymodal">
        <!-- modal-sm小的-->
        <!-- modal-lg大的-->
        <div class="modal-dialog">
            <div class="modal-content">

                <div class="modal-header">
                    <h1>提示框</h1>
                </div>
                <div class="modal-body">
                    <p>我是提示框的内容</p>
                    <p>我是提示框的内容</p>
                    <p>我是提示框的内容</p>
                </div>
                <div class="modal-footer">
                    <button type="button" class="btn btn-primary">确定</button>
                    <button type="button" class="btn btn-default" data-dismiss= "modal">取消</button>
                </div>

            </div>
        </div>
    </div>


</body>

</html>